package com.yyq.adms.yyb.summary.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.yyq.sos.pojo.BaseEntity;

/**
 * 技术总结  项目获奖
 * @author 杨应滨
 * @2012-12-7
 *
 */
@Entity
@Table(name="technoloypaper")
public class TechnologyPaper extends BaseEntity implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	/**
	 * 项目名称
	 */
	private String projectName;
	
	/**
	 * 获奖等级
	 */
	private String paperlevel;
	
	/**
	 * 证书编号
	 */
	private String paperCode;
	
	/**
	 * 获奖人员
	 * 
	 */
	private String paperperson;

	/**
	 * 完成单位
	 */
	private String finishDep;
	
	
	/**
	 * 所属平台ID
	 */
	private String belongPlateFormID;

	/**
	 * 报送单位
	 */
	private String sentDep;


	/**
	 * 是否全局可视
	 */
	/*private Integer isGlobal;
*/
	/**
	 * 是否有附件
	 */
	/*private Integer isHavePatents;*/

	/**
	 * 是否可用
	 */
	private Integer isEnabled;

	/**
	 * 批注
	 */
	private String endorse;
	
	
	/**
	 * 单位名称
	 */
	private String sentDepName;
	
	/**
	 * 数据来源
	 */
	/*private Integer sourceID;*/

	/**
	 * 是否提交给总部
	 */
	/*private Integer isSubmitTop;*/

	/**
	 *   paperYear, 获奖年度，需要加入数据库
	 */
	private String belongYear;

	public TechnologyPaper() {
		super();
	}

	public TechnologyPaper(String projectName, String finishDep,
			String paperlevel, String paperCode, String paperperson,
			String belongPlateFormID, String sentDep, 
			/*Integer isGlobal, *//*Integer isHavePatents, */Integer isEnabled,
			/*Integer sourceID, *//*Integer isSubmitTop,*/ String belongYear) {
		super();
		this.projectName = projectName;
		this.finishDep = finishDep;
		this.paperlevel = paperlevel;
		this.paperCode = paperCode;
		this.paperperson = paperperson;
		this.belongPlateFormID = belongPlateFormID;
		this.sentDep = sentDep;
	/*	this.isGlobal = isGlobal;*/
	/*	this.isHavePatents = isHavePatents;*/
		this.isEnabled = isEnabled;
	/*	this.sourceID = sourceID;*/
	/*	this.isSubmitTop = isSubmitTop;*/
		this.belongYear = belongYear;
	}

	@Column(name="belongplateformid")
	public String getBelongPlateFormID() {
		return belongPlateFormID;
	}

	@Column(name="paperyear")
	public String getBelongYear() {
		return belongYear;
	}

	@Column(name="isenabled")
	public Integer getIsEnabled() {
		return isEnabled;
	}

	/*@Column(name="isglobal")
	public Integer getIsGlobal() {
		return isGlobal;
	}*/

/*	@Column(name="ishavepatents")
	public Integer getIsHavePatents() {
		return isHavePatents;
	}*/

	/*@Column(name="issubmittop")
	public Integer getIsSubmitTop() {
		return isSubmitTop;
	}*/

	@Column(name="papercode")
	public String getPaperCode() {
		return paperCode;
	}

	@Column(name="paperlevel")
	public String getPaperlevel() {
		return paperlevel;
	}

	@Column(name="paperperson")
	public String getPaperperson() {
		return paperperson;
	}

	@Column(name="finishdep")
	public String getFinishDep() {
		return finishDep;
	}

	@Column(name="projectname")
	public String getProjectName() {
		return projectName;
	}

	@Transient
	public String getSentDep() {
		return sentDep;
	}

	/*@Column(name="sourceid")
	public Integer getSourceID() {
		return sourceID;
	}*/

	public void setBelongPlateFormID(String belongPlateFormID) {
		this.belongPlateFormID = belongPlateFormID;
	}

	public void setBelongYear(String belongYear) {
		this.belongYear = belongYear;
	}

	public void setIsEnabled(Integer isEnabled) {
		this.isEnabled = isEnabled;
	}

	/*public void setIsGlobal(Integer isGlobal) {
		this.isGlobal = isGlobal;
	}*/

	/*public void setIsHavePatents(Integer isHavePatents) {
		this.isHavePatents = isHavePatents;
	}
*/
	/*public void setIsSubmitTop(Integer isSubmitTop) {
		this.isSubmitTop = isSubmitTop;
	}*/


	public void setPaperCode(String paperCode) {
		this.paperCode = paperCode;
	}

	public void setPaperlevel(String paperlevel) {
		this.paperlevel = paperlevel;
	}

	public void setPaperperson(String paperperson) {
		this.paperperson = paperperson;
	}

	
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public void setSentDep(String sentDep) {
		this.sentDep = sentDep;
	}

	/*public void setSourceID(Integer sourceID) {
		this.sourceID = sourceID;
	}*/

	public void setFinishDep(String finishDep) {
		this.finishDep = finishDep;
	}
	
	@Column(name="endorse")
	public String getEndorse() {
		return endorse;
	}

	public void setEndorse(String endorse) {
		this.endorse = endorse;
	}

	@Column(name="sentdepname")
	public String getSentDepName() {
		return sentDepName;
	}

	public void setSentDepName(String sentDepName) {
		this.sentDepName = sentDepName;
	}
	

}
